The base class of any DAO that manages entity persistence operations.
Top
Top
Top
Keystone.Carbonite Namespace
BaseDao<TDataContext, TCarboniteController, TTransaction, TTransactionCreationParameters>
The following tables list the members exposed by the Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, TTransactionCreationParameters> type.
Name | Description | |
---|---|---|
Carbonite | Gets the carbonite controller that hosts the current DAO and offers data store context to it. (inherited from BaseDao<TDataContext, TCarboniteController, TTransaction, TTransactionCreationParameters>). | |
Entities | Routes an entity read request to the underlying data store, so that all TEntity entities are obtained. |
Name | Description | |
---|---|---|
Add | (Overloaded) Routes an entity creation request to the underlying data store. | |
Count | (Overloaded) Routes an entity count request to the underlying data store, so that all TEntity entities are counted. | |
Equals | (Overloaded) Determines whether the specified object is equal to the current object. (inherited from Object). | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object). | |
Get | (Overloaded) Routes an entity read request to the underlying data store, so that all TEntity entities are obtained. | |
GetFirst | (Overloaded) Routes an entity read request to the underlying data store, so that the first TEntity is obtained. | |
GetHashCode | Serves as the default hash function. (inherited from Object). | |
GetType | (Overloaded) Gets the Type of the current instance. (inherited from Object). | |
Initialize | Initializes the current DAO with the specified host carbonite controller as its data store context provider. (inherited from BaseDao<TDataContext, TCarboniteController, TTransaction, TTransactionCreationParameters>). | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object). | |
OnAdd | (Overloaded) Handles the request to create an entity into the underlying data store. | |
OnAreEqual | By comparing the identities of two entities, this inversion control method handles the request to determine if those are equal. The identity of each entity is obtained by reading a property named "Id", if present. | |
OnCount | (Overloaded) Handles the request to count all TEntity entities in the underlying data store. | |
OnGet | (Overloaded) Handles the request to obtain all TEntity entities from the underlying data store. | |
OnGetFirst | (Overloaded) By calling the Get method to retrieve all TEntity entities and then picking the first of them, this inversion control method handles the request to obtain the first from the underlying data store. | |
OnInitialize | Handles the request to initialize the current DAO. (inherited from BaseDao<TDataContext, TCarboniteController, TTransaction, TTransactionCreationParameters>). | |
OnRemove | (Overloaded) Handles the request to delete an entity from the underlying data store. | |
OnRemoveAll | Handles the request to delete all entities from the underlying data store. | |
OnSynchronize | (Overloaded) By calling OnSynchronize(IEnumerable<TEntity>) over a single entity, this inversion control method handles the request to synchronize an entity, so that the create or update operations are accordingly performed into the underlying data source. | |
OnUpdate | (Overloaded) Handles the request to update an entity into the underlying data store. | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object). | |
Remove | (Overloaded) Routes an entity deletion request to the underlying data store. | |
RemoveAll | Routes a delete all entities request to the underlying data store. | |
Synchronize | (Overloaded) Routes an entity synchronization request to the underlying data store, so that the create or update operations are accordingly performed. | |
ToString | Returns a string that represents the current object. (inherited from Object). | |
Update | (Overloaded) Routes an entity update request to the underlying data store. |
Name | Description | |
---|---|---|
FromNullable | Converts object values to nullable relational data store values. (Defined by Object_ToNullable). | |
GetAttribute | Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes). | |
GetAttribute<TAtribute> | (Overloaded) Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes). | |
GetAttributes | Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes). | |
GetAttributes<TAtribute> | (Overloaded) Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes). | |
ToNullable<T> | Converts nullable relational data store values to Nullable<T>. (Defined by Object_ToNullable). |
Reference
Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, TTransactionCreationParameters> ClassKeystone.Carbonite Namespace
BaseDao<TDataContext, TCarboniteController, TTransaction, TTransactionCreationParameters>